package com.financial.service.integralpay.controller;


import com.financial.service.integralpay.service.FinancialIntegralRefundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/gyIntegralRefund")
public class FinancialIntegralRefundController {

    @Autowired
    private FinancialIntegralRefundService integralRefundService;
    @PostMapping("/refund")
    public Map<String, Object> refund(@RequestParam Map<String,Object> requestMap){

        return integralRefundService.refund(requestMap);
    }
}
